<?php
defined('IN_IA') or exit('Access Denied');
define('IA_ROOT', str_replace("\\", '/', dirname(__FILE__)));
require_once IA_ROOT . '/addons/unpor_baby/inc/function.php';
require_once IA_ROOT . '/addons/unpor_baby/common/defines.php';
global $_W,$_GPC;

//$operation = empty($_GPC['op']) ? 'list' : trim($_GPC['op']);
//$module_name = trim($_GPC['m']);
//$modulelist = uni_modules(false);
//$module = $_W['current_module'] = $modulelist[$module_name];
//define('IN_MODULE', $module_name);
//if(empty($module)) {
//    itoast('抱歉，你操作的模块不能被访问！');
//}
//if(!permission_check_account_user_module($module_name.'_permissions', $module_name)) {
//    itoast('您没有权限进行该操作');
//}


// 获取请求地址
$go = remove_null(trim($_GPC['go']));
$dodo = remove_null(trim($_GPC['dodo']));
$operate = remove_null(trim($_GPC['operate'])); // 操作路径

$tem = 'web/'.$go.'/'.$dodo.'/'.$operate;

$pageObj = kit_crumbs_navigation($go, $dodo, $operate);

include $this->template($tem);

?>